package myky.com.doctorapp.entity;

/**
 * Created by 61904 on 2017/11/9.
 */

public class VersionEntity {


    /**
     * type : 276
     * payLoad : {"appUpdateLog":{"id":26,"downloadUrl":"http://10.100.1.145/app/apk/download?version=undefined","version":"55","content":"5","compulsive":1,"osType":0,"versionname":"55","pushcontent":"5","filename":"C:\\fakepath\\","agreestate":0,"checkstate":0,"upgradesource":"5","state":0,"createtime":"2018-06-05 09:46:29","upgradetime":"2018-06-06 09:50:09","year":0,"month":0,"day":0,"updatetime":"2018-07-10 10:22:32"},"appUpdateNotice":{"id":1,"appupdatelogid":26,"appsize":1024,"notice":"666","noticecolor":"#125468","urlname":"http://www.baidu.com","url":"http://www.baidu.com","state":0,"createtime":"2018-07-14 15:22:52","updatetime":"2018-07-14 15:22:55"}}
     */

    private int type;
    private PayLoadBean payLoad;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public PayLoadBean getPayLoad() {
        return payLoad;
    }

    public void setPayLoad(PayLoadBean payLoad) {
        this.payLoad = payLoad;
    }

    public static class PayLoadBean {
        /**
         * appUpdateLog : {"id":26,"downloadUrl":"http://10.100.1.145/app/apk/download?version=undefined","version":"55","content":"5","compulsive":1,"osType":0,"versionname":"55","pushcontent":"5","filename":"C:\\fakepath\\","agreestate":0,"checkstate":0,"upgradesource":"5","state":0,"createtime":"2018-06-05 09:46:29","upgradetime":"2018-06-06 09:50:09","year":0,"month":0,"day":0,"updatetime":"2018-07-10 10:22:32"}
         * appUpdateNotice : {"id":1,"appupdatelogid":26,"appsize":1024,"notice":"666","noticecolor":"#125468","urlname":"http://www.baidu.com","url":"http://www.baidu.com","state":0,"createtime":"2018-07-14 15:22:52","updatetime":"2018-07-14 15:22:55"}
         */

        private AppUpdateLogBean appUpdateLog;
        private AppUpdateNoticeBean appUpdateNotice;

        public AppUpdateLogBean getAppUpdateLog() {
            return appUpdateLog;
        }

        public void setAppUpdateLog(AppUpdateLogBean appUpdateLog) {
            this.appUpdateLog = appUpdateLog;
        }

        public AppUpdateNoticeBean getAppUpdateNotice() {
            return appUpdateNotice;
        }

        public void setAppUpdateNotice(AppUpdateNoticeBean appUpdateNotice) {
            this.appUpdateNotice = appUpdateNotice;
        }

        public static class AppUpdateLogBean {
            /**
             * id : 26
             * downloadUrl : http://10.100.1.145/app/apk/download?version=undefined
             * version : 55
             * content : 5
             * compulsive : 1
             * osType : 0
             * versionname : 55
             * pushcontent : 5
             * filename : C:\fakepath\
             * agreestate : 0
             * checkstate : 0
             * upgradesource : 5
             * state : 0
             * createtime : 2018-06-05 09:46:29
             * upgradetime : 2018-06-06 09:50:09
             * year : 0
             * month : 0
             * day : 0
             * updatetime : 2018-07-10 10:22:32
             */

            private int id;
            private String downloadUrl;
            private String version;
            private String content;
            private int compulsive;
            private int osType;
            private String versionname;
            private String pushcontent;
            private String filename;
            private int agreestate;
            private int checkstate;
            private String upgradesource;
            private int state;
            private String createtime;
            private String upgradetime;
            private int year;
            private int month;
            private int day;
            private String updatetime;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getDownloadUrl() {
                return downloadUrl;
            }

            public void setDownloadUrl(String downloadUrl) {
                this.downloadUrl = downloadUrl;
            }

            public String getVersion() {
                return version;
            }

            public void setVersion(String version) {
                this.version = version;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public int getCompulsive() {
                return compulsive;
            }

            public void setCompulsive(int compulsive) {
                this.compulsive = compulsive;
            }

            public int getOsType() {
                return osType;
            }

            public void setOsType(int osType) {
                this.osType = osType;
            }

            public String getVersionname() {
                return versionname;
            }

            public void setVersionname(String versionname) {
                this.versionname = versionname;
            }

            public String getPushcontent() {
                return pushcontent;
            }

            public void setPushcontent(String pushcontent) {
                this.pushcontent = pushcontent;
            }

            public String getFilename() {
                return filename;
            }

            public void setFilename(String filename) {
                this.filename = filename;
            }

            public int getAgreestate() {
                return agreestate;
            }

            public void setAgreestate(int agreestate) {
                this.agreestate = agreestate;
            }

            public int getCheckstate() {
                return checkstate;
            }

            public void setCheckstate(int checkstate) {
                this.checkstate = checkstate;
            }

            public String getUpgradesource() {
                return upgradesource;
            }

            public void setUpgradesource(String upgradesource) {
                this.upgradesource = upgradesource;
            }

            public int getState() {
                return state;
            }

            public void setState(int state) {
                this.state = state;
            }

            public String getCreatetime() {
                return createtime;
            }

            public void setCreatetime(String createtime) {
                this.createtime = createtime;
            }

            public String getUpgradetime() {
                return upgradetime;
            }

            public void setUpgradetime(String upgradetime) {
                this.upgradetime = upgradetime;
            }

            public int getYear() {
                return year;
            }

            public void setYear(int year) {
                this.year = year;
            }

            public int getMonth() {
                return month;
            }

            public void setMonth(int month) {
                this.month = month;
            }

            public int getDay() {
                return day;
            }

            public void setDay(int day) {
                this.day = day;
            }

            public String getUpdatetime() {
                return updatetime;
            }

            public void setUpdatetime(String updatetime) {
                this.updatetime = updatetime;
            }
        }

        public static class AppUpdateNoticeBean {
            /**
             * id : 1
             * appupdatelogid : 26
             * appsize : 1024
             * notice : 666
             * noticecolor : #125468
             * urlname : http://www.baidu.com
             * url : http://www.baidu.com
             * state : 0
             * createtime : 2018-07-14 15:22:52
             * updatetime : 2018-07-14 15:22:55
             */

            private int id;
            private int appupdatelogid;
            private int appsize;
            private String notice;
            private String noticecolor;
            private String urlname;
            private String url;
            private int state;
            private String createtime;
            private String updatetime;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getAppupdatelogid() {
                return appupdatelogid;
            }

            public void setAppupdatelogid(int appupdatelogid) {
                this.appupdatelogid = appupdatelogid;
            }

            public int getAppsize() {
                return appsize;
            }

            public void setAppsize(int appsize) {
                this.appsize = appsize;
            }

            public String getNotice() {
                return notice;
            }

            public void setNotice(String notice) {
                this.notice = notice;
            }

            public String getNoticecolor() {
                return noticecolor;
            }

            public void setNoticecolor(String noticecolor) {
                this.noticecolor = noticecolor;
            }

            public String getUrlname() {
                return urlname;
            }

            public void setUrlname(String urlname) {
                this.urlname = urlname;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public int getState() {
                return state;
            }

            public void setState(int state) {
                this.state = state;
            }

            public String getCreatetime() {
                return createtime;
            }

            public void setCreatetime(String createtime) {
                this.createtime = createtime;
            }

            public String getUpdatetime() {
                return updatetime;
            }

            public void setUpdatetime(String updatetime) {
                this.updatetime = updatetime;
            }
        }
    }
}
